//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "Unit9.h"
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm9 *Form9;
//---------------------------------------------------------------------------
__fastcall TForm9::TForm9(TComponent* Owner)
	: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm9::Button1Click(TObject *Sender)
{
Form1->Visible = true;
}
//---------------------------------------------------------------------------

void __fastcall TForm9::Button2Click(TObject *Sender)
{
Form1->Icon-> LoadFromResourceName((int)HInstance,"WINICON1");

}
//---------------------------------------------------------------------------

void __fastcall TForm9::FormCreate(TObject *Sender)
{
Form9->Icon-> LoadFromResourceName((int)HInstance,"WINICON2");
}
//---------------------------------------------------------------------------

void __fastcall TForm9::Button3Click(TObject *Sender)
{
 Form9->Icon-> LoadFromResourceName((int)HInstance,"MAINICON");
 Form1->Icon-> LoadFromResourceName((int)HInstance,"MAINICON");
}
//---------------------------------------------------------------------------

